<style>
    #cell-2 { width: 430px; }
    #cell-2 dt { width: 140px; }
    #cell-2 dd { width: 250px; }
    #cell-3 { width: 300px; }
    #cell-3 dt { width: 160px; }
    #cell-3 dd { width: 100px; }
    #cell-4 { width: 300px; }
    #cell-4 dt { width: 160px; }
    #cell-4 dd { width: 100px; }
</style> 

<div class="vheader">
    <h1><?php echo $this->LoanProducts->d->Name ?></h1>
    <p><?php echo $this->translate("Loan product") ?>
</div>

<div class="vcontent">
<div id="cell-2">
    <dl>
        <dt><?php echo $this->translate("Public sp.") ?></dt>
        <dd><?php echo $this->LoanProducts->d->PublicSponsorship ?></dd>
        <dt><?php echo $this->translate("Funds") ?></dt>
        <dd><?php foreach($this->LoanProducts->r->funds as $fund) echo $fund->Fund .'<br />' ?></dd>
        <dt><?php echo $this->translate("Locations") ?></dt>
        <dd><?php foreach($this->LoanProducts->r->locations as $location) echo $location->Name .'<br />' ?></dd>
        <dt><?php echo $this->translate("Description") ?></dt>
        <dd><?php echo $this->replaceEmpty($this->LoanProducts->d->Description,'-') ?></dd>
    </dl>
</div>

<?php echo $this->partial('partials/performance.phtml', $this->LoanProducts->p); ?>
              
</div>

<div class="vfooter">
    <div class="menu">
        <?php echo $this->link('/loan/loan-product/add', array('id'=>$this->LoanProducts->d->LoanProductId),$this->translate("Edit product")) ?>                 
    </div>
</div>

<!-- Tooltips -->
<div data-dojo-type="dijit.Tooltip" data-dojo-props="connectId:'score',position:['below']">
    <?php echo $this->translate("Performance score") ?>
</div>
<!-- Tooltips /-->

